﻿#ifndef DAAPPRIBBONAREAINTERFACE_H
#define DAAPPRIBBONAREAINTERFACE_H
#include "DAInterfaceGlobal.h"
#include "DAGlobals.h"
#include <QObject>
class SARibbonMainWindow;
class DACoreInterface;
DA_IMPL_FORWARD_DECL(DAAppRibbonAreaInterface)

/**
 * @brief 这个接口管理了AppRibbon区域的相关操作
 */
class DAINTERFACE_API DAAppRibbonAreaInterface : public QObject
{
    Q_OBJECT
    DA_IMPL(DAAppRibbonAreaInterface)
public:
    DAAppRibbonAreaInterface(SARibbonMainWindow *mainwindow, DACoreInterface *c);
    ~DAAppRibbonAreaInterface();

    //获取主窗口
    SARibbonMainWindow *mainWindow() const;

    //返回核心接口指针
    DACoreInterface *core() const;

    //发生语言变更时会调用此函数
    virtual void retranslateUi();
};

#endif // DAAPPRIBBONAREAINTERFACE_H
